package com.ymt.bpm.service.engine.taskcenter;

import com.alibaba.fastjson.JSONObject;

/**
 * Created by Johnny on 2017/4/17.
 */
public interface TaskService {

    JSONObject draftToTemplate(String tenantId, String loginName, String tiId, String title);

    JSONObject deleteDraft(String tenantId, String loginName, int purpose, String tiId, String piId);

    JSONObject cleanDraft(String tenantId, String loginName, int purpose);

}
